import { defineStore } from "pinia";
import {ref} from "vue"

export const useTabbarStore = defineStore(
  "tabbar",
  () => {
	const tabIndex = ref(0)
    return { tabIndex };
  },
  {
    unistorage: false, // 开启后对 state 的数据读写都将持久化
  },
);